import { request } from "./request.js"
//注册请求
export function register(data) {
    return request({
        url: '/api/auth/register',
        method: 'post',
        data
    })
}
//登录请求
export function login(data) {
    return request({
        url: '/api/auth/login',
        method: 'post',
        data
    })
}
